.notification-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.notification-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  max-width: 400px;
  pointer-events: auto;
  cursor: pointer;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid #1890ff;
}

.notification-item.visible {
  transform: translateX(0);
  opacity: 1;
}

.notification-item.success {
  border-left-color: #52c41a;
}

.notification-item.error {
  border-left-color: #ff4d4f;
}

.notification-item.warning {
  border-left-color: #faad14;
}

.notification-item.info {
  border-left-color: #1890ff;
}

.notification-content {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  gap: 12px;
}

.notification-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  margin-top: 2px;
}

.notification-item.success .notification-icon {
  background: #52c41a;
}

.notification-item.error .notification-icon {
  background: #ff4d4f;
}

.notification-item.warning .notification-icon {
  background: #faad14;
}

.notification-item.info .notification-icon {
  background: #1890ff;
}

.notification-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  word-break: break-word;
}

.notification-close {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.notification-close:hover {
  background: #f5f5f5;
  color: #666;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .notification-container {
    bottom: 20px;
    right: 10px;
    left: 10px;
  }
  
  .notification-item {
    min-width: auto;
    max-width: none;
  }
}
